From b8d02c9398b08ff5b29fb43b1d475f281d28e548 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 7 Apr 2023 08:02:44 -0400 Subject: [PATCH] actionmuxer: Make the compiler warn Warn when the boolean return isn't used, since we may not initialize the out arguments in the FALSE case (see the previous commits). --- gtk/gtkactionmuxerprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkactionmuxerprivate.h b/gtk/gtkactionmuxerprivate.h index a7e03f0078..a725a8295c 100644 --- a/gtk/gtkactionmuxerprivate.h +++ b/gtk/gtkactionmuxerprivate.h @@ -73,7 +73,7 @@ gboolean gtk_action_muxer_query_action (GtkActi const GVariantType **parameter_type, const GVariantType **state_type, GVariant **state_hint, - GVariant **state); + GVariant **state) G_GNUC_WARN_UNUSED_RESULT; void gtk_action_muxer_activate_action (GtkActionMuxer *muxer, const char *action_name, GVariant *parameter); -- 2.30.2